#include "Poker.h"

#include <iostream>
#include <ctime>
#include <cstdlib>
#include <string>

std::string suitString[4]={"spades","diamonds","hearts","clubs"};
std::string rankString[13]={"two","three","four","five","six","seven","eight","nine","ten","jack","queen","king","ace"};


void Poker::play(int nPlayers){

	srand(time(NULL));
	t=table(nPlayers);

}

void Poker::preflop(){

	t.preflop();
}

void Poker::flop(){

	t.flop();
}

void Poker::turn(){

	t.turn();
}

void Poker::river(){

	t.river();
}


int Poker::winner(){

	return t.winner();

}

std::vector<card> Poker::getGroundCards(){

	return t.getGroundCards();
}

std::vector<player> Poker::getPlayers(){

	return t.getPlayers();

}